﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace KinConquer.Packets.Handles
{
    public class ItemUsage
    {
        public unsafe static void Handle(Byte* Data, KinSocket.Connection Client)
        {
            Structures.ItemUsage* Packet = (Structures.ItemUsage*)Data;
            Entities.Hero h = Program.GetHero(Client.Identifier);

            switch (Packet->UsageType)
            {
                case Structures.ItemUsage.Types.Ping:
                    {
                        Client.Send(Packet);
                        break;
                    }
            }
        }
    }
}
